package com.cell.service.user.location;

import com.cell.pojo.DTO.user.location.UserUpdateLocationDTO;
import com.cell.pojo.VO.user.UserLocationDetailVO;
import com.cell.pojo.entity.user.location.UserLocation;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author cloudJiang
 * @since 2022-06-04
 */
public interface IUserLocationService extends IService<UserLocation> {
    /**
     * 更新用户位置信息
     *
     * @param userUpdateLocationDTO
     */
    void updateLocation(UserUpdateLocationDTO userUpdateLocationDTO);

    /**
     * 获取用户当前位置信息
     *
     * @param locationId
     * @return
     */
    UserLocationDetailVO getLocation(Long locationId);
}
